package com.csd.pojo;
// default package

import java.util.HashSet;
import java.util.Set;


/**
 * @JavaBean Team
 * @author CSD
 * @version 1.1.1
 * @date 2009-12-16
 * @description 工程类型：萌芽、创新..
 */

public  class ProjectType  implements java.io.Serializable {


    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	// Fields    
	/**数据库唯一标识*/
     private Integer id;
     /**工程项目类型*/
     private String name;
     /**工程项目所限制团队项目人数上限*/
     private String maxiMemberNumber ;
     /**工程项目所限制的评审老师人数上限*/
     private String maxiTeacherNumber;
     /**描述*/
     private String description;
     /**工程项目类型是否启用*/
     private Boolean enable;
     /**所在项目类型的工程集*/
     private Set<Project> projects = new HashSet<Project>(0);


    // Constructors

    /** default constructor */
    public ProjectType() {
    }

    
    /** full constructor */
    public ProjectType(String name, String description, Boolean enable, Set<Project> projects) {
        this.name = name;
        this.description = description;
        this.enable = enable;
        this.projects = projects;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return this.description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }

    public Boolean getEnable() {
        return this.enable;
    }
    
    public void setEnable(Boolean enable) {
        this.enable = enable;
    }


	public Set<Project> getProjects() {
		return projects;
	}


	public void setProjects(Set<Project> projects) {
		this.projects = projects;
	}



	@Override
	public String toString() {
		return this.getName();
	}


	public String getMaxiMemberNumber() {
		return maxiMemberNumber;
	}


	public void setMaxiMemberNumber(String maxiMemberNumber) {
		this.maxiMemberNumber = maxiMemberNumber;
	}


	public String getMaxiTeacherNumber() {
		return maxiTeacherNumber;
	}


	public void setMaxiTeacherNumber(String maxiTeacherNumber) {
		this.maxiTeacherNumber = maxiTeacherNumber;
	}






}